package com.study.dao;

import com.study.pojo.Teacher;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TeacherMapper {

    //获取表中的老师
    List<Teacher> getAllTeachers();
    //获取指定老师下所有的学习及老师信息
    Teacher getTeacher(@Param("tid") int id);

}
